﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_MilkTreatment
    {
        D_MilkTreatment dal = new D_MilkTreatment();
        public static B_MilkTreatment CreateInstance()
        {
            return new B_MilkTreatment();
        }
        public bool CreateOneMilkTreatment(MilkTreatment_Info MilkTreatment_Info)
        {

            return dal.CreateOneMilkTreatment(MilkTreatment_Info);
        }
        public bool EditOneMilkTreatment(MilkTreatment_Info MilkTreatment_Info)
        {

            return dal.EditOneMilkTreatment(MilkTreatment_Info);
        }
        public bool RemoveOneMilkTreatment(int MilkTreatmentID)
        {

            return dal.RemoveOneMilkTreatment(MilkTreatmentID);
        }
        public DataTable GetAllMilkTreatment()
        {
            
            return dal.GetAllMilkTreatment();
        }
        public MilkTreatment_Info GetOneMilkTreatment(int MilkTreatmentID)
        {
            
            return dal.GetOneMilkTreatment(MilkTreatmentID);
        }
    }
}
